import { useEffect } from 'react';
import { useParams } from 'react-router-dom';

const IntegralDetail = ({ entity }: any) => {
  useEffect(() => {}, []);

  console.log(entity);

  const params = useParams();
  console.log(params);

  return (
    <>
      details<div>{entity?.id}</div>
      <div>{entity?.name}</div>
    </>
  );
};

export default IntegralDetail;
